.class public Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;


# static fields
.field public static a:I


# instance fields
.field private b:Lcom/waiqin365/lightapp/kaoqin/f;

.field private c:Lcom/waiqin365/compons/c/g;

.field private d:Lcom/waiqin365/compons/c/f;

.field private e:I

.field private f:Lcom/waiqin365/compons/c/f;

.field private g:Landroid/widget/TextView;

.field private h:Landroid/widget/ImageView;

.field private i:Lcom/baidu/mapapi/map/MapView;

.field private j:Lcom/baidu/mapapi/map/BaiduMap;

.field private k:Z

.field private l:Z

.field private m:Ljava/util/ArrayList;

.field private n:Ljava/util/ArrayList;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const/16 v0, 0x3e9

    sput v0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->a:I

    return-void
.end method

.method public constructor <init>()V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    iput v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->e:I

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->k:Z

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->l:Z

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;)Lcom/waiqin365/compons/c/f;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->d:Lcom/waiqin365/compons/c/f;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;Lcom/waiqin365/compons/c/f;)Lcom/waiqin365/compons/c/f;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->d:Lcom/waiqin365/compons/c/f;

    return-object p1
.end method

.method private a()V
    .locals 2

    const v0, 0x7f0c0d50

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    new-instance v1, Lcom/waiqin365/lightapp/kaoqin/a;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kaoqin/a;-><init>(Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0d51

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f080386

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c0d53

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f0805d3

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    new-instance v1, Lcom/waiqin365/lightapp/kaoqin/b;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kaoqin/b;-><init>(Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method private a(Landroid/content/Intent;)V
    .locals 3

    new-instance v0, Lcom/waiqin365/lightapp/view/a/a;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/view/a/a;-><init>()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "returnTo"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/view/a/a;->a:Ljava/lang/String;

    iput-object p1, v0, Lcom/waiqin365/lightapp/view/a/a;->b:Ljava/lang/Object;

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/Observable;->notifyObservers(Ljava/lang/Object;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->finish()V

    const v0, 0x7f040020

    const v1, 0x7f040023

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->overridePendingTransition(II)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;Landroid/content/Intent;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->a(Landroid/content/Intent;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->l:Z

    return p1
.end method

.method private b()V
    .locals 2

    const v0, 0x7f0c0d40

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->g:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->f:Lcom/waiqin365/compons/c/f;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->g:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->f:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v1}, Lcom/waiqin365/compons/c/f;->e()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    const v0, 0x7f0c0d3f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->h:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->h:Landroid/widget/ImageView;

    new-instance v1, Lcom/waiqin365/lightapp/kaoqin/c;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kaoqin/c;-><init>(Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->d()V

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->k:Z

    return p1
.end method

.method private c()V
    .locals 13

    const/4 v12, 0x3

    const/4 v9, 0x0

    const-wide/16 v10, 0x0

    const/4 v2, 0x0

    const/4 v8, 0x1

    const v0, 0x7f0c0d41

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/baidu/mapapi/map/MapView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->i:Lcom/baidu/mapapi/map/MapView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->i:Lcom/baidu/mapapi/map/MapView;

    invoke-virtual {v0}, Lcom/baidu/mapapi/map/MapView;->getMap()Lcom/baidu/mapapi/map/BaiduMap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v0, v8}, Lcom/baidu/mapapi/map/BaiduMap;->setMapType(I)V

    const/high16 v0, 0x41800000    # 16.0f

    invoke-static {v0}, Lcom/baidu/mapapi/map/MapStatusUpdateFactory;->zoomTo(F)Lcom/baidu/mapapi/map/MapStatusUpdate;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v1, v0}, Lcom/baidu/mapapi/map/BaiduMap;->setMapStatus(Lcom/baidu/mapapi/map/MapStatusUpdate;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v0}, Lcom/baidu/mapapi/map/BaiduMap;->getUiSettings()Lcom/baidu/mapapi/map/UiSettings;

    move-result-object v0

    invoke-virtual {v0, v8}, Lcom/baidu/mapapi/map/UiSettings;->setZoomGesturesEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v0, v8}, Lcom/baidu/mapapi/map/BaiduMap;->setMyLocationEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->i:Lcom/baidu/mapapi/map/MapView;

    invoke-virtual {v0, v2}, Lcom/baidu/mapapi/map/MapView;->showScaleControl(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->i:Lcom/baidu/mapapi/map/MapView;

    invoke-virtual {v0, v8}, Lcom/baidu/mapapi/map/MapView;->showZoomControls(Z)V

    const v0, 0x7f0200b7

    invoke-static {v0}, Lcom/baidu/mapapi/map/BitmapDescriptorFactory;->fromResource(I)Lcom/baidu/mapapi/map/BitmapDescriptor;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    new-instance v3, Lcom/baidu/mapapi/map/MyLocationConfiguration;

    sget-object v4, Lcom/baidu/mapapi/map/MyLocationConfiguration$LocationMode;->NORMAL:Lcom/baidu/mapapi/map/MyLocationConfiguration$LocationMode;

    invoke-direct {v3, v4, v8, v0}, Lcom/baidu/mapapi/map/MyLocationConfiguration;-><init>(Lcom/baidu/mapapi/map/MyLocationConfiguration$LocationMode;ZLcom/baidu/mapapi/map/BitmapDescriptor;)V

    invoke-virtual {v1, v3}, Lcom/baidu/mapapi/map/BaiduMap;->setMyLocationConfigeration(Lcom/baidu/mapapi/map/MyLocationConfiguration;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->f:Lcom/waiqin365/compons/c/f;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->f:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/f;->b()D

    move-result-wide v0

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->f:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v3}, Lcom/waiqin365/compons/c/f;->c()D

    move-result-wide v4

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->f:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v3}, Lcom/waiqin365/compons/c/f;->a()I

    move-result v3

    invoke-static {v0, v1, v4, v5, v3}, Lcom/waiqin365/compons/c/m;->a(DDI)[D

    move-result-object v3

    new-instance v4, Lcom/baidu/mapapi/map/MyLocationData$Builder;

    invoke-direct {v4}, Lcom/baidu/mapapi/map/MyLocationData$Builder;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->f:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/f;->f()D

    move-result-wide v0

    cmpg-double v0, v0, v10

    if-gez v0, :cond_1

    const-wide v0, 0x408f400000000000L    # 1000.0

    :goto_0
    double-to-float v0, v0

    invoke-virtual {v4, v0}, Lcom/baidu/mapapi/map/MyLocationData$Builder;->accuracy(F)Lcom/baidu/mapapi/map/MyLocationData$Builder;

    move-result-object v0

    aget-wide v4, v3, v2

    invoke-virtual {v0, v4, v5}, Lcom/baidu/mapapi/map/MyLocationData$Builder;->latitude(D)Lcom/baidu/mapapi/map/MyLocationData$Builder;

    move-result-object v0

    aget-wide v4, v3, v8

    invoke-virtual {v0, v4, v5}, Lcom/baidu/mapapi/map/MyLocationData$Builder;->longitude(D)Lcom/baidu/mapapi/map/MyLocationData$Builder;

    move-result-object v0

    invoke-virtual {v0}, Lcom/baidu/mapapi/map/MyLocationData$Builder;->build()Lcom/baidu/mapapi/map/MyLocationData;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v1, v0}, Lcom/baidu/mapapi/map/BaiduMap;->setMyLocationData(Lcom/baidu/mapapi/map/MyLocationData;)V

    new-instance v0, Lcom/baidu/mapapi/model/LatLng;

    aget-wide v4, v3, v2

    aget-wide v6, v3, v8

    invoke-direct {v0, v4, v5, v6, v7}, Lcom/baidu/mapapi/model/LatLng;-><init>(DD)V

    invoke-static {v0}, Lcom/baidu/mapapi/map/MapStatusUpdateFactory;->newLatLng(Lcom/baidu/mapapi/model/LatLng;)Lcom/baidu/mapapi/map/MapStatusUpdate;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v1, v0}, Lcom/baidu/mapapi/map/BaiduMap;->animateMapStatus(Lcom/baidu/mapapi/map/MapStatusUpdate;)V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->m:Ljava/util/ArrayList;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->m:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_4

    move v1, v2

    :goto_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->m:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_3

    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->m:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/c/ah;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kaoqin/c/ah;->d:Ljava/lang/String;

    const/16 v4, 0x2c

    invoke-static {v0, v4, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;CLjava/util/ArrayList;)V

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v0

    const/4 v4, 0x2

    if-ne v0, v4, :cond_0

    invoke-virtual {v3, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v0, v9}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;F)F

    move-result v0

    float-to-double v4, v0

    invoke-virtual {v3, v8}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v0, v9}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;F)F

    move-result v0

    float-to-double v6, v0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->m:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/c/ah;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kaoqin/c/ah;->f:Ljava/lang/String;

    invoke-static {v0, v12}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v0

    invoke-static {v4, v5, v6, v7, v0}, Lcom/waiqin365/compons/c/m;->a(DDI)[D

    move-result-object v0

    cmpl-double v3, v4, v10

    if-lez v3, :cond_0

    cmpl-double v3, v6, v10

    if-lez v3, :cond_0

    new-instance v3, Lcom/baidu/mapapi/model/LatLng;

    aget-wide v4, v0, v2

    aget-wide v6, v0, v8

    invoke-direct {v3, v4, v5, v6, v7}, Lcom/baidu/mapapi/model/LatLng;-><init>(DD)V

    const v0, 0x7f0202be

    invoke-static {v0}, Lcom/baidu/mapapi/map/BitmapDescriptorFactory;->fromResource(I)Lcom/baidu/mapapi/map/BitmapDescriptor;

    move-result-object v0

    new-instance v4, Lcom/baidu/mapapi/map/MarkerOptions;

    invoke-direct {v4}, Lcom/baidu/mapapi/map/MarkerOptions;-><init>()V

    invoke-virtual {v4, v3}, Lcom/baidu/mapapi/map/MarkerOptions;->position(Lcom/baidu/mapapi/model/LatLng;)Lcom/baidu/mapapi/map/MarkerOptions;

    move-result-object v4

    invoke-virtual {v4, v0}, Lcom/baidu/mapapi/map/MarkerOptions;->icon(Lcom/baidu/mapapi/map/BitmapDescriptor;)Lcom/baidu/mapapi/map/MarkerOptions;

    move-result-object v4

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->m:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/c/ah;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kaoqin/c/ah;->b:Ljava/lang/String;

    invoke-virtual {v4, v0}, Lcom/baidu/mapapi/map/MarkerOptions;->title(Ljava/lang/String;)Lcom/baidu/mapapi/map/MarkerOptions;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/baidu/mapapi/map/MarkerOptions;->zIndex(I)Lcom/baidu/mapapi/map/MarkerOptions;

    move-result-object v0

    iget-object v4, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v4, v0}, Lcom/baidu/mapapi/map/BaiduMap;->addOverlay(Lcom/baidu/mapapi/map/OverlayOptions;)Lcom/baidu/mapapi/map/Overlay;

    move-result-object v0

    check-cast v0, Lcom/baidu/mapapi/map/Marker;

    iget-object v4, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->n:Ljava/util/ArrayList;

    invoke-virtual {v4, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->m:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/c/ah;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kaoqin/c/ah;->e:Ljava/lang/String;

    invoke-static {v0, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v0

    if-lez v0, :cond_0

    new-instance v4, Lcom/baidu/mapapi/map/CircleOptions;

    invoke-direct {v4}, Lcom/baidu/mapapi/map/CircleOptions;-><init>()V

    const v5, 0x264598fe

    invoke-virtual {v4, v5}, Lcom/baidu/mapapi/map/CircleOptions;->fillColor(I)Lcom/baidu/mapapi/map/CircleOptions;

    move-result-object v4

    invoke-virtual {v4, v3}, Lcom/baidu/mapapi/map/CircleOptions;->center(Lcom/baidu/mapapi/model/LatLng;)Lcom/baidu/mapapi/map/CircleOptions;

    move-result-object v3

    new-instance v4, Lcom/baidu/mapapi/map/Stroke;

    const v5, -0x55b87b01

    invoke-direct {v4, v12, v5}, Lcom/baidu/mapapi/map/Stroke;-><init>(II)V

    invoke-virtual {v3, v4}, Lcom/baidu/mapapi/map/CircleOptions;->stroke(Lcom/baidu/mapapi/map/Stroke;)Lcom/baidu/mapapi/map/CircleOptions;

    move-result-object v3

    invoke-virtual {v3, v0}, Lcom/baidu/mapapi/map/CircleOptions;->radius(I)Lcom/baidu/mapapi/map/CircleOptions;

    move-result-object v0

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v3, v0}, Lcom/baidu/mapapi/map/BaiduMap;->addOverlay(Lcom/baidu/mapapi/map/OverlayOptions;)Lcom/baidu/mapapi/map/Overlay;

    :cond_0
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto/16 :goto_2

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->f:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/f;->f()D

    move-result-wide v0

    goto/16 :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->g:Landroid/widget/TextView;

    const v1, 0x7f080384

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_1

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    new-instance v1, Lcom/waiqin365/lightapp/kaoqin/d;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kaoqin/d;-><init>(Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;)V

    invoke-virtual {v0, v1}, Lcom/baidu/mapapi/map/BaiduMap;->setOnMarkerClickListener(Lcom/baidu/mapapi/map/BaiduMap$OnMarkerClickListener;)V

    :cond_4
    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->e()V

    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->g:Landroid/widget/TextView;

    return-object v0
.end method

.method private d()V
    .locals 4

    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v1, "latt"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->d:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v2}, Lcom/waiqin365/compons/c/f;->b()D

    move-result-wide v2

    invoke-virtual {v0, v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;D)Landroid/content/Intent;

    const-string/jumbo v1, "lntt"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->d:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v2}, Lcom/waiqin365/compons/c/f;->c()D

    move-result-wide v2

    invoke-virtual {v0, v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;D)Landroid/content/Intent;

    const-string/jumbo v1, "addr"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->d:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v2}, Lcom/waiqin365/compons/c/f;->e()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "loctime"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->d:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v2}, Lcom/waiqin365/compons/c/f;->d()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "loctype"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->d:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v2}, Lcom/waiqin365/compons/c/f;->a()I

    move-result v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const-string/jumbo v1, "province"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->d:Lcom/waiqin365/compons/c/f;

    iget-object v2, v2, Lcom/waiqin365/compons/c/f;->v:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "city"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->d:Lcom/waiqin365/compons/c/f;

    iget-object v2, v2, Lcom/waiqin365/compons/c/f;->w:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "citycode"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->d:Lcom/waiqin365/compons/c/f;

    iget-object v2, v2, Lcom/waiqin365/compons/c/f;->x:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "district"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->d:Lcom/waiqin365/compons/c/f;

    iget-object v2, v2, Lcom/waiqin365/compons/c/f;->y:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "street"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->d:Lcom/waiqin365/compons/c/f;

    iget-object v2, v2, Lcom/waiqin365/compons/c/f;->z:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "json"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->d:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v2}, Lcom/waiqin365/compons/c/f;->i()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    sget v1, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->a:I

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->setResult(ILandroid/content/Intent;)V

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->a(Landroid/content/Intent;)V

    return-void
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;)Lcom/baidu/mapapi/map/BaiduMap;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    return-object v0
.end method

.method private e()V
    .locals 3

    const/4 v2, 0x1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->k:Z

    if-ne v0, v2, :cond_0

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->b:Lcom/waiqin365/lightapp/kaoqin/f;

    if-nez v0, :cond_1

    new-instance v0, Lcom/waiqin365/lightapp/kaoqin/f;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/kaoqin/f;-><init>(Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->b:Lcom/waiqin365/lightapp/kaoqin/f;

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->c:Lcom/waiqin365/compons/c/g;

    if-nez v0, :cond_2

    new-instance v0, Lcom/waiqin365/compons/c/g;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->b:Lcom/waiqin365/lightapp/kaoqin/f;

    invoke-direct {v0, v1}, Lcom/waiqin365/compons/c/g;-><init>(Lcom/waiqin365/compons/c/l;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->c:Lcom/waiqin365/compons/c/g;

    :cond_2
    iget v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->e:I

    rem-int/lit8 v0, v0, 0x2

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->c:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->c()V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->c:Lcom/waiqin365/compons/c/g;

    const/16 v1, 0x2710

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/c/g;->a(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->c:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0, p0}, Lcom/waiqin365/compons/c/g;->a(Landroid/content/Context;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->c:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->e()V

    iget v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->e:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->e:I

    iput-boolean v2, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->k:Z

    goto :goto_0

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->c:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->a()V

    goto :goto_1
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->m:Ljava/util/ArrayList;

    return-object v0
.end method

.method private f()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->c:Lcom/waiqin365/compons/c/g;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->c:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->f()V

    :cond_0
    return-void
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->f()V

    return-void
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->l:Z

    return v0
.end method


# virtual methods
.method public ReLocation(Landroid/view/View;)V
    .locals 2

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->d:Lcom/waiqin365/compons/c/f;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->e()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->g:Landroid/widget/TextView;

    const v1, 0x7f080517

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public onBackPressed()V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->a(Landroid/content/Intent;)V

    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 14

    const-wide/16 v12, 0x0

    const-wide/high16 v10, -0x4010000000000000L    # -1.0

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "addr_lat"

    invoke-virtual {v0, v1, v10, v11}, Landroid/content/Intent;->getDoubleExtra(Ljava/lang/String;D)D

    move-result-wide v2

    const-string/jumbo v1, "addr_lgt"

    invoke-virtual {v0, v1, v10, v11}, Landroid/content/Intent;->getDoubleExtra(Ljava/lang/String;D)D

    move-result-wide v4

    const-string/jumbo v1, "addr_addr"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v6, "addr_time"

    invoke-virtual {v0, v6}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    const-string/jumbo v7, "addr_type"

    const/4 v8, 0x0

    invoke-virtual {v0, v7, v8}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v7

    const-string/jumbo v8, "addr_radius"

    invoke-virtual {v0, v8, v10, v11}, Landroid/content/Intent;->getDoubleExtra(Ljava/lang/String;D)D

    move-result-wide v8

    const-string/jumbo v10, "points"

    invoke-virtual {v0, v10}, Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z

    move-result v10

    if-eqz v10, :cond_0

    const-string/jumbo v10, "points"

    invoke-virtual {v0, v10}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->m:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/ArrayList;

    iget-object v10, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->m:Ljava/util/ArrayList;

    invoke-virtual {v10}, Ljava/util/ArrayList;->size()I

    move-result v10

    invoke-direct {v0, v10}, Ljava/util/ArrayList;-><init>(I)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->n:Ljava/util/ArrayList;

    :cond_0
    cmpl-double v0, v2, v12

    if-lez v0, :cond_1

    cmpl-double v0, v4, v12

    if-lez v0, :cond_1

    new-instance v0, Lcom/waiqin365/compons/c/f;

    invoke-direct {v0}, Lcom/waiqin365/compons/c/f;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->f:Lcom/waiqin365/compons/c/f;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->f:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v0, v2, v3}, Lcom/waiqin365/compons/c/f;->a(D)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->f:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v0, v4, v5}, Lcom/waiqin365/compons/c/f;->b(D)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->f:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/c/f;->b(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->f:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v0, v6}, Lcom/waiqin365/compons/c/f;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->f:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v0, v7}, Lcom/waiqin365/compons/c/f;->a(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->f:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v0, v8, v9}, Lcom/waiqin365/compons/c/f;->c(D)V

    :cond_1
    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f0302ab

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->setContentView(I)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->a()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->b()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->c()V

    return-void
.end method

.method protected onDestroy()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->c:Lcom/waiqin365/compons/c/g;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->c:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->h()V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->i:Lcom/baidu/mapapi/map/MapView;

    invoke-virtual {v0}, Lcom/baidu/mapapi/map/MapView;->onDestroy()V

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onDestroy()V

    return-void
.end method

.method protected onPause()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->i:Lcom/baidu/mapapi/map/MapView;

    invoke-virtual {v0}, Lcom/baidu/mapapi/map/MapView;->onPause()V

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onPause()V

    return-void
.end method

.method protected onResume()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/KaoQinMapActivity;->i:Lcom/baidu/mapapi/map/MapView;

    invoke-virtual {v0}, Lcom/baidu/mapapi/map/MapView;->onResume()V

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onResume()V

    return-void
.end method
